import pAddressList from '@main/plc/dataOptions/s7/dongfang/home';

// import addressList from '@/utils/dataOptions/opcua/dongfang';

import {setAddressObjFn} from './utils'

export default [
  {
    connectType: 's7',
    plcId: 'df',
    name: '东方印刷机plc',
    port: '102',
    // host: '192.168.0.222',
    host: '192.168.1.131',
    // host: '127.0.0.1',
    rack: 0, // 机架
    slot: 0, // 插槽
    connectReadTime: 5000,
    connectOverTime: 100,
    reConnectNum: 5,
    addressObj: setAddressObjFn(pAddressList),
    pAddressList
  }
  // {
  //   connectType: 'opcua',
  //   plcId: 'df2',
  //   host: 'opc.tcp://10.2.10.133:49320',
  //   userName: null,
  //   password: null,
  //   name: '东方印刷机opcua',
  //   addressList
  // }
];
